package com.db.nearcache.remote;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Map;

public interface ObservableRemoteCache extends Remote {

	void subscribe(RemoteCacheObserver observer) throws RemoteException;

	Map<String, Object> snapshot() throws RemoteException;

}
